@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="articleForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#avatar id="pic" name="图片" underline="true" avatarImg=""/>
                </div>

                <div class="col-sm-6">
                    <#input id="title" name="标题 *" underline="true"/>
                    <#selectDict id="typeCode" name="分类 *" num="verbalType" underline="true" />
                    <#input id="url" name="链接" underline="true"/>
                </div>
            </div>

            <div class="row">
                <div class="col-sm-1">内容</div>
                <div class="col-sm-11">
                    <div id="editor" class="editorHeight">
                    </div>
                </div>
            </div>
            

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ArticleInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ArticleInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script type="text/javascript" src="${ctxPath}/static/js/plugins/wangEditor/wangEditor.js"></script>
<script src="${ctxPath}/static/modular/verbal/article/article_info.js"></script>
@}
